/**
 * 
 */
package org.paybiz.model;

import java.io.Serializable;

/**
 * @Description: 支付请求通用对象
 * @author Nassir.wen
 * @date 2010-10-13 下午05:47:28
 */
public class PayModel implements Serializable {

	private static final long serialVersionUID = -671190014663503644L;
	
	private String orderId = ""; // 商户订单号<=18
	private Integer payMoney = 0; // 支付金额,分为单位
	private String subject = ""; // 商品名称<=256
	private String category = ""; // 商品种类 <=32
	private String body = ""; // 商品描述 <1000
	private String payType = "alipay"; // 第三方支付类型 "1"为易宝 "2"为支付宝 "3"为财付通
	private String bankType = ""; //银行支付代码,第三方直联银行也传此字段
	private String resultUrl = ""; //交易结果显示链接,成功失败展示
    private String userRequestIp = "";//请求支付用户IP,非服务器IP,第三方安全效验
    private String synCallbackUrl;//同步回调地址
    private String asynCallbackUrl;//异步回调地址
	private String sign = ""; // 数据签名,调用方对参数签名

	public PayModel() {
		super();
	}

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(Integer payMoney) {
        this.payMoney = payMoney;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getResultUrl() {
        return resultUrl;
    }

    public void setResultUrl(String resultUrl) {
        this.resultUrl = resultUrl;
    }

    public String getUserRequestIp() {
        return userRequestIp;
    }

    public void setUserRequestIp(String userRequestIp) {
        this.userRequestIp = userRequestIp;
    }

    public String getSynCallbackUrl() {
        return synCallbackUrl;
    }

    public void setSynCallbackUrl(String synCallbackUrl) {
        this.synCallbackUrl = synCallbackUrl;
    }

    public String getAsynCallbackUrl() {
        return asynCallbackUrl;
    }

    public void setAsynCallbackUrl(String asynCallbackUrl) {
        this.asynCallbackUrl = asynCallbackUrl;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getBankType() {
        return bankType;
    }

    public void setBankType(String bankType) {
        this.bankType = bankType;
    }

    @Override
    public String toString() {
        return "PayModel [orderId=" + orderId + ", payMoney=" + payMoney + ", subject=" + subject + ", category="
                + category + ", body=" + body + ", payType=" + payType + ", bankType=" + bankType + ", resultUrl="
                + resultUrl + ", userRequestIp=" + userRequestIp + ", synCallbackUrl=" + synCallbackUrl
                + ", asynCallbackUrl=" + asynCallbackUrl + ", sign=" + sign + "]";
    }
    
}
